$(function($){
	var theme='black';
	initInfoDlg();
 $("#flooder li").on("click",function(){
	// alert($(this).attr("id"));
	$("#"+$(this).attr("id")+"_dlg").jqxWindow("open");
	 });
	 
	 function initInfoDlg(){
		 //没有配置AVC 或是AGC对应的按钮，且不初始话对应的对话框
		  //$(".AVC").hide(); 
		    var mainDemoContainer = $('#CentContent');
            var offset = mainDemoContainer.offset();
		  $('#sys_status_dlg').jqxWindow({ theme:theme,height: 'auto', resizable: false,width: 220, minHeight: '160px' ,minWidth: '220px' , position: { x: offset.left + 50, y: offset.top + 50} }); 
		  $('#avc_status_dlg').jqxWindow({theme:theme, height: 'auto',resizable: false, width: 220, minHeight: '160px' ,minWidth: '220px', position: { x: offset.left + 50, y: offset.top + 50} }); 
		  $('#agc_status_dlg').jqxWindow({ theme:theme,height: 'auto', resizable: false,width: 220,minHeight: '160px' ,minWidth: '220px',  position: { x: offset.left + 50, y: offset.top + 50} }); 
		  $('#event_status_dlg').jqxWindow({theme:theme, height: 'auto',resizable: false, width: 220,minHeight: '160px' ,minWidth: '220px',  position: { x: offset.left + 50, y: offset.top + 50} }); 
	 }
 
});
 